import * as step from '@flow-step/step-toolkit'
import process from 'process'
import {execute} from './execute-step'

async function runStep(): Promise<void> {
    await execute()
}

runStep()
    .then(function () {
        step.info('run step successfully!')
    })
    .catch(function (err: Error) {
        step.error(err.message)
        process.exit(-1)
    })
